package cn.pasyy.entity;

import java.util.Date;

public class WebNotes {
    private Integer userId;

    private Date notesStarttime;

    private Date notesLastreviewtime;

    private Integer notesLikes;

    private Integer notesReceivepoints;

    private String notesHtml;

    public WebNotes(Integer userId, Date notesStarttime, Date notesLastreviewtime, Integer notesLikes, Integer notesReceivepoints) {
        this.userId = userId;
        this.notesStarttime = notesStarttime;
        this.notesLastreviewtime = notesLastreviewtime;
        this.notesLikes = notesLikes;
        this.notesReceivepoints = notesReceivepoints;
    }

    public WebNotes(Integer userId, Date notesStarttime, Date notesLastreviewtime, Integer notesLikes, Integer notesReceivepoints, String notesHtml) {
        this.userId = userId;
        this.notesStarttime = notesStarttime;
        this.notesLastreviewtime = notesLastreviewtime;
        this.notesLikes = notesLikes;
        this.notesReceivepoints = notesReceivepoints;
        this.notesHtml = notesHtml;
    }

    public WebNotes() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getNotesStarttime() {
        return notesStarttime;
    }

    public void setNotesStarttime(Date notesStarttime) {
        this.notesStarttime = notesStarttime;
    }

    public Date getNotesLastreviewtime() {
        return notesLastreviewtime;
    }

    public void setNotesLastreviewtime(Date notesLastreviewtime) {
        this.notesLastreviewtime = notesLastreviewtime;
    }

    public Integer getNotesLikes() {
        return notesLikes;
    }

    public void setNotesLikes(Integer notesLikes) {
        this.notesLikes = notesLikes;
    }

    public Integer getNotesReceivepoints() {
        return notesReceivepoints;
    }

    public void setNotesReceivepoints(Integer notesReceivepoints) {
        this.notesReceivepoints = notesReceivepoints;
    }

    public String getNotesHtml() {
        return notesHtml;
    }

    public void setNotesHtml(String notesHtml) {
        this.notesHtml = notesHtml == null ? null : notesHtml.trim();
    }
}